package org.jeecg.modules.common.baseentity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class BaseAchieveEntity extends BaseEntity{
    /**是否启用(1是启用，0否停用)*/
    @Excel(name = "是否启用(1是启用，0否停用)", width = 15)
    @ApiModelProperty(value = "是否启用(1是启用，0否停用)")
    @Dict(dicCode = "iz_open")
    private Integer izOpen = 1;
    /**0表示未删除,1表示删除*/
    @Excel(name = "0表示未删除,1表示删除", width = 15)
    @ApiModelProperty(value = "0表示未删除,1表示删除")
    @Dict(dicCode = "del_flag")
    private Integer delFlag = 0;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**创建时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**修改人*/
    @ApiModelProperty(value = "修改人")
    private String updateBy;
    /**修改时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
}
